<template>
  <div class="Score">
    <el-row>
      <el-col :span="24"><div class="grid-content bg-purple-dark">
        {{customer_name}}
      </div></el-col>
    </el-row>
    <el-row>
      <el-col :span="12"><div class="grid-content bg-purple">已使用积分
        <div>{{score_used}}</div>
      </div></el-col>
      <el-col :span="12"><div class="grid-content bg-purple-light">未使用积分
        <div>{{score_existing}}</div>
      </div></el-col>
    </el-row>
  </div></template>

<script>
export default {
  name: 'Score',
  data () {
    return {
      stu_picture_src: '@/assets/logo.png',
      customer_name: 'Uzi',
      score_used: 2,
      score_existing: 1000
    }
  }
}
</script>

<style scoped>
  .Score{
    width: 50%;
    height: 50%;
    margin: 0 auto;
    margin-top: 20%;
    text-align: center;
  }
  .bg-purple-dark {
    background: #99a9bf;
  }
  .bg-purple {
    background: #d3dce6;
  }
  .bg-purple-light {
    background: #e5e9f2;
  }
  .grid-content {
    border-radius: 4px;
    min-height: 36px;
  }
</style>
